package cms.models {

  import org.restfulx.models.RxModel;
  
  [Resource(name="people")]
  [Bindable]
  public class Person extends RxModel {
    // public static const LABEL:String = "firstName";

    public var firstName:String = "";

    public var middleName:String = "";

    public var lastName:String = "";

    public var suffix:String = "";

    public var gender:String = "";

    public var cellPhone:String = "";

    public var workPhone:String = "";

    public var email:String = "";

    public var bday:Date = new Date;

    [BelongsTo]
    public var household:Household;

    public override function toString():String {
	return this.lastName + ", " + this.firstName;
    }

    public function Person() {
      //super(LABEL);
      super();
    }
  }
}
